LWS\WOOREWARDS\PointDiscount C

Total Complexity 125
Dependencies 5
Dependents 2
Total lines 583
Lines of code 444
Logical lines of code 274
Comment lines 51
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
fromCode()
B
39 16 61
getPaymentFromOrder()
B
39 15 66
reserveAmount()
A
44 13 41
preventAddDiscount()
A
49 13 28
pay()
A
43 9 48
asData()
A
52 9 25
remove()
S
53 7 21
asError()
S
54 6 21
check()
S
57 4 16
asLabel()
S
60 4 14
getLabel()
S
60 4 12
setOrderFailed()
S
61 4 12
asCode()
S
63 4 11
install()
S
55 2 16
getPayOrderStatus()
S
69 3 6
getTitle()
S
67 2 7
fromOrderItem()
S
65 2 9
createOrderItem()
S
66 2 9
getPool()
S
65 2 8
emptied()
S
68 2 7
legacyCheck()
S
82 1 3
poedit()
S
80 1 3